You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TMtxVec Class
>
TMtxVec Methods
>
Normalize Method
>
TMtxVec.Normalize Method ([In] double, [In] double)
Dew Math for .NET
Example
TMtxVec.Normalize Method ([In] double, [In] double)
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TVec
a; MtxVec.CreateIt(
out
a);
try
{ a.SetIt(
false
,
new
double
[] {1,2,3,4});
// a = [1,2,3,4]
a.Normalize(2,3); }
finally
{ MtxVec.FreeIt(
ref
a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home